dd5b48c3f0f73b127b7c7da87339a35b772ef170,modules/apps/platform/portal-background-task/portal-background-task-service/src/main/java/com/liferay/portal/background/task/internal/BackgroundTaskManagerImpl.java,BackgroundTaskManagerImpl,activate,#BundleContext#,553
Before Change
protected void activate(BundleContext bundleContext) {
_bundleContext = bundleContext;
registerDestination(
bundleContext, DestinationConfiguration.DESTINATION_TYPE_PARALLEL,
DestinationNames.BACKGROUND_TASK);
registerDestination(
bundleContext, DestinationConfiguration.DESTINATION_TYPE_SERIAL,
DestinationNames.BACKGROUND_TASK_STATUS);
After Change
protected void activate(BundleContext bundleContext) {
_bundleContext = bundleContext;
Destination backgroundTaskDestination = registerDestination(
bundleContext, DestinationConfiguration.DESTINATION_TYPE_PARALLEL,
DestinationNames.BACKGROUND_TASK);
BackgroundTaskMessageListener backgroundTaskMessageListener =
new BackgroundTaskMessageListener(
_backgroundTaskExecutorRegistry, this,
_backgroundTaskStatusRegistry,
_backgroundTaskThreadLocalManager, _messageBus);
backgroundTaskDestination.register(backgroundTaskMessageListener);
Destination backgroundTaskStatusDestination = registerDestination(
bundleContext, DestinationConfiguration.DESTINATION_TYPE_SERIAL,